home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / tagcalls / intuition.inc < prev    next >
Text File  |  1998-06-24  |  2KB  |  82 lines

  1. pattern BuildEasyRequest(_window,_easyStruct,_idcmp, ...) is
  2.     push a3\a6;
  3.     push ...;
  4.     safe a0:=_window; a1:=_easyStruct; d0.l:=_idcmp; a3:=sp;;
  5.     a6:=IntuitionBase; jsr [a6-594];
  6.     sp:=sp+ssizeof(...);
  7.     pop a3\a6;
  8. endp;                                                            # BUILDEASYREQUEST
  9.  
  10. pattern DoGadgetMethod(_gad,_win,_req, ...) is
  11.     push a2\a3\a6;
  12.     push.l ...;
  13.     safe a0:=_gad; a1:=_win; a2:=_req; a3:=sp;;
  14.     a6:=IntuitionBase; jsr [a6-810];
  15.     sp:=sp+countof(...)<<2;
  16.     pop a2\a3\a6;
  17. endp;                                                            # DOGADGETMETHOD
  18.  
  19. pattern EasyRequest(_window,_easyStruct,_idcmpPtr, ...) is
  20.     push a2\a3\a6;
  21.     push ...;
  22.     safe a0:=_window; a1:=_easyStruct; a2:=_idcmpPtr; a3:=sp;;
  23.     a6:=IntuitionBase; jsr [a6-588];
  24.     sp:=sp+ssizeof(...);
  25.     pop a2\a3\a6;
  26. endp;                                                            # EASYREQUEST
  27.  
  28. pattern NewObject(_classPtr,_classID, ...) is
  29.     push a2\a6;
  30.     push.l ...;
  31.     safe a0:=_classPtr; a1:=_classID; a2:=sp;;
  32.     a6:=IntuitionBase; jsr [a6-636];
  33.     sp:=sp+countof(...)<<2;
  34.     pop a2\a6;
  35. endp;                                                            # NEWOBJECT
  36.  
  37. pattern OpenScreenTags(_newScreen, ...) is
  38.     push a6;
  39.     push.l ...;
  40.     safe a0:=_newScreen; a1:=sp;;
  41.     a6:=IntuitionBase; jsr [a6-612];
  42.     sp:=sp+countof(...)<<2;
  43.     pop a6;
  44. endp;                                                            # OPENSCREENTAGS
  45.  
  46. pattern OpenWindowTags(_newWindow, ...) is
  47.     push a6;
  48.     push.l ...;
  49.     safe a0:=_newWindow; a1:=sp;;
  50.     a6:=IntuitionBase; jsr [a6-606];
  51.     sp:=sp+countof(...)<<2;
  52.     pop a6;
  53. endp;                                                            # OPENWINDOWTAGS
  54.  
  55. pattern SetAttrs(_object, ...) is
  56.     push a6;
  57.     push.l ...;
  58.     safe a0:=_object; a1:=sp;;
  59.     a6:=IntuitionBase; jsr [a6-648];
  60.     sp:=sp+countof(...)<<2;
  61.     pop a6;
  62. endp;                                                            # SETATTRS
  63.  
  64. pattern SetGadgetAttrs(_gadget,_window,_requester, ...) is
  65.     push a2\a3\a6;
  66.     push.l ...;
  67.     safe a0:=_gadget; a1:=_window; a2:=_requester; a3:=sp;;
  68.     a6:=IntuitionBase; jsr [a6-660];
  69.     sp:=sp+countof(...)<<2;
  70.     pop a2\a3\a6;
  71. endp;                                                            # SETGADGETATTRS
  72.  
  73. pattern SetWindowPointer(_win, ...) is
  74.     push a6;
  75.     push.l ...;
  76.     safe a0:=_win; a1:=sp;;
  77.     a6:=IntuitionBase; jsr [a6-816];
  78.     sp:=sp+countof(...)<<2;
  79.     pop a6;
  80. endp;                                                            # SETWINDOWPOINTER
  81.  
  82.